package com.carpool.message;

import java.sql.Date;

import com.google.android.maps.GeoPoint;

public class MyGeoPoint {
	GeoPoint point;
	Date period;
	int distance;

	public MyGeoPoint(GeoPoint point, Date period) {

		this.point = point;
		this.period = period;
		this.distance=0;

	}
	public MyGeoPoint(GeoPoint point, Date period,int distance) {

		this.point = point;
		this.period = period;
		this.distance=distance;

	}

	public GeoPoint getPoint() {
		return this.point;
	}

	public Date getDate() {
		return this.period;
	}
	public int getDistance(){
		return this.distance;
	}
}
